package com.chem.lems.serves;

import com.chem.lems.entity.User;
import com.chem.lems.utils.ResultUtil;
import com.chem.lems.vo.PassVO;

public interface UserServies {
    ResultUtil gitUserByAll();

    ResultUtil gitUserByAll(Integer page, Integer size);

    ResultUtil gitUserByNameLike( String username,Integer page, Integer size);

    ResultUtil gitUserByName(String username);

    ResultUtil updataUserState(String username, boolean state);

    ResultUtil gitUserByUserId(String userID);

    ResultUtil editUserInfo(User user);

    ResultUtil deleteById(String userId);

    ResultUtil addUser(User userFrom);

    ResultUtil UserAuthRole(String userId, String roleId);

    ResultUtil gitstudentsListByAll(String roleId, Integer page, Integer size);

    ResultUtil ChangePasswd(String userId, PassVO passVO);

    ResultUtil gitstudentsByNameLike(String username, Integer page, Integer size);
}
